package com.sugon.dao;

import com.sugon.entity.InspectionOptionEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 巡检选项表Dao
 *
 * @author sugon
 * @date 2020-01-03 09:34:22
 */
public interface InspectionOptionDao extends BaseDao<InspectionOptionEntity> {

    /**
     * 批量插入巡检选项
     *
     * @param list 巡检选项列表
     * @return
     */
    int batchInsert(@Param("list") List<InspectionOptionEntity> list);

    /**
     * 获取最新维护项编码
     */
    String getLastestOptionCode();

}
